
# Register your models here.
import xadmin
from xadmin import views

class BaseSetting():
    """xadmin的基本配置"""
    enable_themes = True  # 开启主题切换功能
    use_bootswatch = True

class GlobalSettings():
    """xadmin的全局配置"""
    site_title = "路飞学城"  # 设置站点标题
    site_footer = "路飞学城有限公司"  # 设置站点的页脚

xadmin.site.register(views.BaseAdminView, BaseSetting)
xadmin.site.register(views.CommAdminView, GlobalSettings)


#默认权限六表已经注册


#home中的表在这里注册没用
#注册bannerbiao
# xadmin.site.register(models.Banner)




